from django.conf.urls import url
from django.urls import path, include

from rest_framework.routers import DefaultRouter

from report.views import ReportViewSet


router = DefaultRouter()

get_pdf = ReportViewSet.as_view({"get":"get_pdf"})

urlpatterns = [
    path('', include(router.urls)),
    url(r'^get_pdf/$', get_pdf, name='get_pdf'),
]
